﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CWM.Client.Models
{
    public partial class Customer : Selectable
    {
        private int? _id;
        private string _account;
        private string _password;
        private string _key;
        private string _name;
        private string _mobilePhone;
        private string _email;
        private string _managerName;
        private string _serviceUserName;
        private string _pickupUserName;
        private int? _source;
        private string _type;
        private string _settlementMode;
        private string _settlerName;
        private string _country;
        private string _province;
        private string _city;
        private string _address;
        private string _postcode;
        private string _qq;
        private string _wechat;
        private string _msn;
        private string _skype;
        private string _telephone;
        private string _fax;
        private string _senderName;
        private string _senderCountry;
        private string _senderProvince;
        private string _senderCity;
        private string _senderAddress;
        private string _senderPostcode;
        private string _senderSms;
        private string _senderPhone;
        private string _feature;
        private int? _creditStatus;
        private decimal? _creditLimit;
        private int? _paydays;
        private int? _invoicePrint;
        private int? _invoiceType;
        private string _invoiceTitle;
        private string _taxpayerNum;
        private string _taxpayerName;
        private string _taxpayerPhone;
        private string _businessLicense;
        private string _legalPerson;
        private string _legaoPersonId;
        private string _ceoName;
        private string _bankName;
        private string _bankAccount;
        private string _createUser;
        private DateTime? _createDate;
        private string _modifyUser;
        private DateTime? _modifyDate;
        private int? _status;
        private string _memo;

        public int? Id
        {
            get
            {
                return _id;
            }

            set
            {
                _id = value;
                this.RaisePropertyChanged("Id");
            }
        }

        public string Account
        {
            get
            {
                return _account;
            }
            set
            {
                _account = value;
                this.RaisePropertyChanged("Account");
            }
        }

        public string Password
        {
            get
            {
                return _password;
            }
            set
            {
                _password = value;
                this.RaisePropertyChanged("Password");
            }
        }

        public string Key
        {
            get
            {
                return _key;
            }
            set
            {
                _key = value;
                this.RaisePropertyChanged("Key");
            }
        }

        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
                this.RaisePropertyChanged("Name");
            }
        }

        public string MobilePhone
        {
            get
            {
                return _mobilePhone;
            }
            set
            {
                _mobilePhone = value;
                this.RaisePropertyChanged("MobilePhone");
            }
        }

        public string Email
        {
            get
            {
                return _email;
            }
            set
            {
                _email = value;
                this.RaisePropertyChanged("Email");
            }
        }

        public string ManagerName
        {
            get
            {
                return _managerName;
            }
            set
            {
                _managerName = value;
                this.RaisePropertyChanged("ManagerName");
            }
        }

        public string ServiceUserName
        {
            get
            {
                return _serviceUserName;
            }
            set
            {
                _serviceUserName = value;
                this.RaisePropertyChanged("ServiceUserName");
            }
        }

        public string PickupUserName
        {
            get
            {
                return _pickupUserName;
            }
            set
            {
                _pickupUserName = value;
                this.RaisePropertyChanged("PickupUserName");
            }
        }

        public int? Source
        {
            get
            {
                return _source;
            }
            set
            {
                _source = value;
                this.RaisePropertyChanged("Source");
            }
        }

        public string Type
        {
            get
            {
                return _type;
            }
            set
            {
                _type = value;
                this.RaisePropertyChanged("Type");
            }
        }

        public string SettlementMode
        {
            get
            {
                return _settlementMode;
            }
            set
            {
                _settlementMode = value;
                this.RaisePropertyChanged("SettlementMode");
            }
        }

        public string SettlerName
        {
            get
            {
                return _settlerName;
            }
            set
            {
                _settlerName = value;
                this.RaisePropertyChanged("SettlerName");
            }
        }

        public string Country
        {
            get
            {
                return _country;
            }
            set
            {
                _country = value;
                this.RaisePropertyChanged("Country");
            }
        }

        public string Province
        {
            get
            {
                return _province;
            }
            set
            {
                _province = value;
                this.RaisePropertyChanged("Province");
            }
        }

        public string City
        {
            get
            {
                return _city;
            }
            set
            {
                _city = value;
                this.RaisePropertyChanged("City");
            }
        }

        public string Address
        {
            get
            {
                return _address;
            }
            set
            {
                _address = value;
                this.RaisePropertyChanged("Address");
            }
        }

        public string Postcode
        {
            get
            {
                return _postcode;
            }
            set
            {
                _postcode = value;
                this.RaisePropertyChanged("Postcode");
            }
        }

        public string Qq
        {
            get
            {
                return _qq;
            }
            set
            {
                _qq = value;
                this.RaisePropertyChanged("Qq");
            }
        }

        public string Wechat
        {
            get
            {
                return _wechat;
            }
            set
            {
                _wechat = value;
                this.RaisePropertyChanged("Wechat");
            }
        }

        public string Msn
        {
            get
            {
                return _msn;
            }
            set
            {
                _msn = value;
                this.RaisePropertyChanged("Msn");
            }
        }

        public string Skype
        {
            get
            {
                return _skype;
            }
            set
            {
                _skype = value;
                this.RaisePropertyChanged("Skype");
            }
        }

        public string Telephone
        {
            get
            {
                return _telephone;
            }
            set
            {
                _telephone = value;
                this.RaisePropertyChanged("Telephone");
            }
        }

        public string Fax
        {
            get
            {
                return _fax;
            }
            set
            {
                _fax = value;
                this.RaisePropertyChanged("Fax");
            }
        }

        public string SenderName
        {
            get
            {
                return _senderName;
            }
            set
            {
                _senderName = value;
                this.RaisePropertyChanged("SenderName");
            }
        }

        public string SenderCountry
        {
            get
            {
                return _senderCountry;
            }
            set
            {
                _senderCountry = value;
                this.RaisePropertyChanged("SenderCountry");
            }
        }

        public string SenderProvince
        {
            get
            {
                return _senderProvince;
            }
            set
            {
                _senderProvince = value;
                this.RaisePropertyChanged("SenderProvince");
            }
        }

        public string SenderCity
        {
            get
            {
                return _senderCity;
            }
            set
            {
                _senderCity = value;
                this.RaisePropertyChanged("SenderCity");
            }
        }

        public string SenderAddress
        {
            get
            {
                return _senderAddress;
            }
            set
            {
                _senderAddress = value;
                this.RaisePropertyChanged("SenderAddress");
            }
        }

        public string SenderPostcode
        {
            get
            {
                return _senderPostcode;
            }
            set
            {
                _senderPostcode = value;
                this.RaisePropertyChanged("SenderPostcode");
            }
        }

        public string SenderSms
        {
            get
            {
                return _senderSms;
            }
            set
            {
                _senderSms = value;
                this.RaisePropertyChanged("SenderSms");
            }
        }

        public string SenderPhone
        {
            get
            {
                return _senderPhone;
            }
            set
            {
                _senderPhone = value;
                this.RaisePropertyChanged("SenderPhone");
            }
        }

        public string Feature
        {
            get
            {
                return _feature;
            }
            set
            {
                _feature = value;
                this.RaisePropertyChanged("Feature");
            }
        }

        public int? CreditStatus
        {
            get
            {
                return _creditStatus;
            }
            set
            {
                _creditStatus = value;
                this.RaisePropertyChanged("CreditStatus");
            }
        }

        public decimal? CreditLimit
        {
            get
            {
                return _creditLimit;
            }
            set
            {
                _creditLimit = value;
                this.RaisePropertyChanged("CreditLimit");
            }
        }

        public int? Paydays
        {
            get
            {
                return _paydays;
            }
            set
            {
                _paydays = value;
                this.RaisePropertyChanged("Paydays");
            }
        }

        public int? InvoicePrint
        {
            get
            {
                return _invoicePrint;
            }
            set
            {
                _invoicePrint = value;
                this.RaisePropertyChanged("InvoicePrint");
            }
        }

        public int? InvoiceType
        {
            get
            {
                return _invoiceType;
            }
            set
            {
                _invoiceType = value;
                this.RaisePropertyChanged("InvoiceType");
            }
        }

        public string InvoiceTitle
        {
            get
            {
                return _invoiceTitle;
            }
            set
            {
                _invoiceTitle = value;
                this.RaisePropertyChanged("InvoiceTitle");
            }
        }

        public string TaxpayerNum
        {
            get
            {
                return _taxpayerNum;
            }
            set
            {
                _taxpayerNum = value;
                this.RaisePropertyChanged("TaxpayerNum");
            }
        }

        public string TaxpayerName
        {
            get
            {
                return _taxpayerName;
            }
            set
            {
                _taxpayerName = value;
                this.RaisePropertyChanged("TaxpayerName");
            }
        }

        public string TaxpayerPhone
        {
            get
            {
                return _taxpayerPhone;
            }
            set
            {
                _taxpayerPhone = value;
                this.RaisePropertyChanged("TaxpayerPhone");
            }
        }

        public string BusinessLicense
        {
            get
            {
                return _businessLicense;
            }
            set
            {
                _businessLicense = value;
                this.RaisePropertyChanged("BusinessLicense");
            }
        }

        public string LegalPerson
        {
            get
            {
                return _legalPerson;
            }
            set
            {
                _legalPerson = value;
                this.RaisePropertyChanged("LegalPerson");
            }
        }

        public string LegaoPersonId
        {
            get
            {
                return _legaoPersonId;
            }
            set
            {
                _legaoPersonId = value;
                this.RaisePropertyChanged("LegaoPersonId");
            }
        }

        public string CeoName
        {
            get
            {
                return _ceoName;
            }
            set
            {
                _ceoName = value;
                this.RaisePropertyChanged("CeoName");
            }
        }

        public string BankName
        {
            get
            {
                return _bankName;
            }
            set
            {
                _bankName = value;
                this.RaisePropertyChanged("BankName");
            }
        }

        public string BankAccount
        {
            get
            {
                return _bankAccount;
            }
            set
            {
                _bankAccount = value;
                this.RaisePropertyChanged("BankAccount");
            }
        }

        public string CreateUser
        {
            get
            {
                return _createUser;
            }
            set
            {
                _createUser = value;
                this.RaisePropertyChanged("CreateUser");
            }
        }

        public DateTime? CreateDate
        {
            get
            {
                return _createDate;
            }
            set
            {
                _createDate = value;
                this.RaisePropertyChanged("CreateDate");
            }
        }

        public string ModifyUser
        {
            get
            {
                return _modifyUser;
            }
            set
            {
                _modifyUser = value;
                this.RaisePropertyChanged("ModifyUser");
            }
        }

        public DateTime? ModifyDate
        {
            get
            {
                return _modifyDate;
            }
            set
            {
                _modifyDate = value;
                this.RaisePropertyChanged("ModifyDate");
            }
        }

        public int? Status
        {
            get
            {
                return _status;
            }
            set
            {
                _status = value;
                this.RaisePropertyChanged("Status");
            }
        }

        public string Memo
        {
            get
            {
                return _memo;
            }
            set
            {
                _memo = value;
                this.RaisePropertyChanged("Memo");
            }
        }
    }
}